package cn.wolfcode.mq;


public class MQConstant {
    //订单队列
    public static final String ORDER_PENDING_TOPIC = "ORDER_PENDING_TOPIC";
    public static final String ORDER_PENDING_CONSUMER_GROUP = "ORDER_PENDING_CONSUMER_GROUP";
    //订单结果
    public static final String ORDER_RESULT_TOPIC = "ORDER_RESULT_TOPIC";
    public static final String ORDER_RESULT_CONSUMER_GROUP = "ORDER_RESULT_CONSUMER_GROUP";
    //订单超时取消
    public static final String ORDER_PAY_TIMEOUT_TOPIC = "ORDER_PAY_TIMEOUT_TOPIC";
    public static final String ORDER_PAY_TIMEOUT_CONSUMER_GROUP = "ORDER_PAY_TIMEOUT_CONSUMER_GROUP";
    //取消本地标识
    public static final String CANCEL_SECKILL_OVER_SIGE_TOPIC = "CANCEL_SECKILL_OVER_SIGE_TOPIC";
    public static final String CANCEL_SECKILL_OVER_SIGE_CONSUMER_GROUP = "CANCEL_SECKILL_OVER_SIGE_CONSUMER_GROUP";
    //订单创建成功Tag
    public static final String ORDER_RESULT_SUCCESS_TAG = "SUCCESS";
    //订单创建成失败Tag
    public static final String ORDER_RESULT_FAIL_TAG = "FAIL";
    //延迟消息等级
    //private String messageDelayLevel = "1s 5s 10s 30s 1m 2m 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h";

    public static final int ORDER_PAY_TIMEOUT_DELAY_LEVEL = 13;
//    public static final int ORDER_PAY_TIMEOUT_DELAY_LEVEL = 5;

    //积分退款事务消息生产者分组
    public static final String INTERGRAL_REFUND_TX_PRODUCT_GROUP = "intergral-refund-tx-product-group";
    //积分退款消费者分组
    public static final String INTERGRAL_REFUND_TX_CONSUMER_GROUP = "intergral_refund_tx_consumer_group";
    //积分退款事务消息主题
    public static final String INTERGRAL_REFUND_TX_TOP = "intergral-refund-tx-top";

}
